#pragma once

#include <string>

class CLayoutDefinition;

/// Parse layout
class CLayoutParser
{
public:
	CLayoutParser();

	/// Parse layout nodes
	bool ParseLayout( CLayoutDefinition& outDef, const std::string& fileName, const std::string& txt );

public:
	/// Parse group
	bool ParseGroup( class CLayoutBuilder& builder, class CLayoutBuilderTokens& parsingStream, const bool isMessage );
};